The implementation (which was a nop) was removed back in 22838:
aab67c1c6b87 but
this now causes "set but not used" warnings from some compilers. Might as well
just nuke the option entirely.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
int option_index = 0;
static struct option long_options[] = {
{"help", 0, 0, 'h'},
- {"long", 0, 0, 'l'},
{"cpus", 0, 0, 'c'},
{0, 0, 0, 0}
};
- int opt_long = 0;
int opt_cpus = 0;
const char *pool = NULL;
libxl_cpupoolinfo *poolinfo;
int ret = 0;
while (1) {
- opt = getopt_long(argc, argv, "hlc", long_options, &option_index);
+ opt = getopt_long(argc, argv, "hc", long_options, &option_index);
if (opt == -1)
break;
case 'h':
help("cpupool-list");
return 0;
- case 'l':
- opt_long = 1;
- break;
case 'c':
opt_cpus = 1;
break;